<?php 
/******************************************************************
Use Case: 7.1, 7.2:  View and Update popular route
Author: Catherine Gamboa 
lastupdated: 3/21/2010 

Functional Specification

This module provides the user the ability to download route library from the web site. 
The route library is in text format. A user will be able to review the routes from a browser or download the file into their system.  
The text file can be updated by the user. The user will send the new route file to webmaster.
The web master will compare the new file with existing one, verify it and post it to the web site. 

Web Master Maintenance:
**************************************************************
Web master will be responsible for reviewing and posting the route file to the web site.  
Web Master will receive the file and if he so choses can save it into Google doc.  Using the "History" function in google doc, the web master can compare the differences between the new and existing files.  After the web master has verified the change, the altered route library can be posted to the web site.
**************************************************************/

$title = 'Palo Alto Bike Club - Rides';
$additional_includes = '
	<script type = "text/javascript" src = "include/js/rides.js"> </script> 
    <link rel="stylesheet" type="text/css" href="include/css/rides.css" media="screen" title="no title" />  

   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.js">
   </script> ';
?>

<?php include("header.php"); ?>
    <div id="LinksDiv">
        <a href = "documents/routeLibraryText.txt" target="_blank" class="nav_click tip" title="Open a file listing all the club routes"><br />Download the Club Route Library</a>
    </div>
    <div id="alterDirections">
    To modify the Route Library:<br />
    Download it, modify it in any text editor, <br />
    and email it to the web master</div>

<!-- 
This page uses a dojo widget - an accordion menu - to simplify the user interface. The club newletter publishes information on how to interpert the route library. That information has been sectioned into the accordion menu so that a user to the site can read each section seperately. 

It should be noted each menu item has a unique color and content. The javascript file contains two functions used to animate the menu. 
-->
<div id="fullAccordion">
    <p id="emptySpace"></p>
    <div id="AccordionContainer"  class="AccordionContainer" >
    <p id="accordionTopTitle">The Guide To Ride Classifications</p>
    <div onclick="runAccordion(1);" >
        <div id="Accordion1Title" class="AccordionTitle" >
        RIDE CATEGORY (A-F)
        </div>
    </div>
    <div id="Accordion1Content" class="AccordionContent"  >
    <br />Indicates pace as expressed by average speed with A being the slowest. Average speed refers to speed while 
		riding and is independent of the length of the ride. A ride with multiple stops may have the same average 
		speed as one ridden without stops. A & B rides have frequent to semi-frequent stops to wait for all riders. 
		New and inexperienced riders are welcome on A rides. On C-F rides there is no obligation to wait for slower 
		riders if route directions are given.
    </div>
    
  <div onclick="runAccordion(2);">
    <div id="Accordion2Title" class="AccordionTitle">
      HILLINESS RATING (1-4)
    </div>
  </div>
  <div id="Accordion2Content" class="AccordionContent">
    Indicates elevation gain as expressed in feet per mile with 1 being mostly flat. The hillier the ride, the 
	slower the average ride speed. If you are unaccustomed to judging ride difficulty based on the number of feet 
	of climb, or if the ride description is unclear about the amount of climbing, call the ride leader for advice 
	and/or additional information..
  </div>

  <div onclick="runAccordion(3);">
    <div id="Accordion3Title" class="AccordionTitle">
      MILEAGE ESTIMATES
    </div>
  </div>
  <div id="Accordion3Content" class="AccordionContent">
    Mileage is approximate and has been known to vary depending on weather and group composition
  </div>

  <div onclick="runAccordion(4);">
    <div id="Accordion4Title" class="AccordionTitle">
      RIDE RATING EXAMPLE
    </div>
  </div>
  <div id="Accordion4Content" class="AccordionContent">
    C/2/35 indicates a ride of approximately 35 miles, with 900 to 1700 feet of climb, ridden at an average 
	speed of 13 mph.
  </div>

  <div onclick="runAccordion(5);">
    <div id="Accordion5Title" class="AccordionTitle">
      AVERAGE SPEEDS (MPH) FOR DIFFERENT RIDES
    </div>
  </div>
  <div id="Accordion5Content" class="AccordionContent">
    <img src='images/rating_table.jpg' alt='Rating Table' />
  </div>

  <div onclick="runAccordion(6);">
    <div id="Accordion6Title" class="AccordionTitle">
      CHOOSING YOUR RIDE CATEGORY
    </div>
  </div>
  <div id="Accordion6Content" class="AccordionContent">
    The table above indicates average speeds for rides with different hilliness ratings in categories A though F. 
	<br />If you are a new rider, the speeds in your category may seem low because you know you can ride faster 
	at times.<br /> Remember, however, that the numbers represent the average speed for the entire ride. <br /> 
	Don't attempt rides significantly beyond your level of experience. If you are taking your first club ride, 
	err on the conservative side. <br />If you are unsure in which category to ride on hilly rides (hilliness 
	ratings of 3 or 4), time yourself climbing Old La Honda Rd. and compare your time with the time range listed 
	below for your ride category. <br /> If your time is within the range, you can feel comfortable in riding with 
	that group on hilly rides:B(40-60), C(30-40), D(25-30), E(20-25), F(&lt;20)If your time is higher or lower, you 
	should consider riding with the next faster or slower category. <br /> If you choose to ride outside your 
	category, you should neither push the pace of the group (in the case of a faster rider) nor expect the group to 
	wait for you at the top of the hill (in the case of a slower rider).
  </div>

  <div onclick="runAccordion(7);">
    <div id="Accordion7Title" class="AccordionTitle">
      WEATHER CONSIDERATIONS
    </div>
  </div>
  <div id="Accordion7Content" class="AccordionContent">
    Rides on pavement may be canceled if rain seems likely during the ride. If in doubt, call the ride leader.
  </div>

  <div onclick="runAccordion(8);">
    <div id="Accordion8Title" class="AccordionTitle">
      RECOMMENDED EQUIPMENT
    </div>
  </div>
  <div id="Accordion8Content" class="AccordionContent">
    As needed, please try to bring basic tools, sunglasses and sunscreen, water bottles, food or food money, a 
	first-aid kit, phone change, layered clothing, etc. Bright clothing is recommended.
  </div>

  <div onclick="runAccordion(9);">
    <div id="Accordion9Title" class="AccordionTitle">
      LOCATIONS
    </div>
  </div>
  <div id="Accordion9Content" class="AccordionContent">
    <b>GUNN HIGH SCHOOL</b> main entrance is on Arastradero Rd just east of Foothill Expressway in Palo Alto. 
	Meet in parking lot AWAY FROM BUILDINGS. Don't use when school is in session.<br /><b>MCKENZIE PARK</b> is 
	between Loyola Corners and El Monte on Fremont Ave. in Los Altos. Fremont is the frontage road on the 
	northeastern side of Foothill Expy.<br /><b>BURGESS PARK</b> (Menlo Rec. Center) is between Alma and Laurel 
	Streets at Burgess Drive (near Ravenswood Ave.) in Menlo Park. Meet on Alma side unless otherwise specified.
	<br /><b>PEERS PARK</b> in Palo Alto is on Park Blvd. North of the California Ave. train Station. Note: 
	There is a car barrier just South of the park on Park Blvd.<br /><b>SHOUP PARK</b> is in Los Altos at 400 
	University near Main off Foothill Expy.<br /><b>SUNNYVALE COMMUNITY CENTER</b> is at Manet and Remington in 
	Sunnyvale. Meet at the south side of the complex, off Manet.<br /><b>PIONEER HOTEL IN WOODSIDE</b> is at the 
	corner of Woodside Road and Whiskey Hill on the south side of Hwy 84 (Woodside Rd), about 1/8 mile east of 
	Ca&ntilde;ada Rd in Woodside. Park behind the hotel.
  </div>

  <div onclick="runAccordion(10);">
    <div id="Accordion10Title" class="AccordionTitle">
      PACE
    </div>
  </div>
  <div id="Accordion10Content" class="AccordionContent">
    <br />   1. Slow; social or introductory ride. Riders need not be experienced or fit.
	<br />   2. Moderate; recreational ride.
	<br />   3. Quick; fun and fitness ride with multiple hours of strong riding.
	<br />   4. Sustained, fast; sweaty, intense training ride
	<br />   5. Hammerfest; riders should have their heads and knees examined!
	<br />Pace generally reflects climbing speed; downhill speed in most local areas is limited to 15 mph.
  </div>

  <div onclick="runAccordion(11);">
    <div id="Accordion11Title" class="AccordionTitle">
      TECHNICAL DIFFICULTY
    </div>
  </div>
  <div id="Accordion11Content" class="AccordionContent">
    Technical difficulty is based on the hardest significant portion of the ride, e.g., if a ride were ten miles 
	of fire road but one mile of singletrack, the ride would be rated based on the singletrack.<br />EASY -- 
	Smooth singletrack or fire road; obstacles such as rocks and roots might exist but are not numerous.
	<br />INTermediate -- Steep, rutted fire road; singletrack with extended sections that can include medium or 
	large rocks and roots; stream crossings; exposure; long singletrack descents.<br />DIFFicult -- Singletrack 
	with very steep and/or rocky sections; narrow trails; exposed sideslopes; downhill-side-sloped sections.<br />
	EXTreme --Singletrack with extended steep climbs or descents over rough terrain; many tight switchbacks and 
	turns. Portions may require portage.
  </div>


  <div onclick="runAccordion(12);">
    <div id="Accordion12Title" class="AccordionTitle">
      KEY
    </div>
  </div>
  <div id="Accordion12Content" class="AccordionContent">
    Pace / Technical difficulty / Mileage / Approximate elevation gain<br />Pace generally reflects climbing 
	speed; downhill speed in most local areas is limited to 15 mph.Drop policy: A, B, and C rides are no drop 
	rides with regroups as needed. Rest breaks appropriate for weather, terrain and pace. D and E rides may 
	drop riders who cannot maintain the pace; the drop policy may be stated in the ride listing, or check with 
	the ride leader.
  </div>
</div>
</div>
<div id="safetyWarnings">
    <br />HELMETS ARE REQUIRED ON ALL RIDES!
    <br />(Club policy and also just a good idea.)
    <br />FOR INSURANCE REASONS, ONLY MEMBERS MAY LEAD RIDES
    <br />Ride alertly, courteously and lawfully in groups.
</div>
<?php include("footer.php"); ?>
